package com.neu.elm.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author:csw
 * @Date: 9:40 2020/9/15
 */
//购物车
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart implements Serializable {
        private Integer cartId;
        private Integer foodId;
        private Integer businessId;
        private String userId;
        private Integer quantity;//商品数量

        //引用对象两个
    private Food food;
    private Business business;

}
